package com.rongzhe.house.internet.net;

import com.rongzhe.house.entity.Dictionary;
import com.rongzhe.house.entity.ResponseEntityVo;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by huang on 2017/12/10.
 */

public interface DictionaryInterface {
    @GET("dict/getDictByParentCode")
    Call<ResponseEntityVo<List<Dictionary>>> getDictionaryByCode(
            @Query("parentCode")String parentCode);
    @GET("dict/all")
    Call<ResponseEntityVo<List<Dictionary>>> getAllDictionary();
}
